import javax.swing.JFrame;


public class LogoWindow extends JFrame{
	
	double xPos = 100.0;
	double yPos = 100.0;
	double rotation = 0.0;
	
	public LogoWindow (){
		setSize(800,  600);
		xPos = (int)(getSize().width/2);
		yPos = (int)(getSize().height/2);
		setLocation(500, 0);
		setVisible(true);
	}
	
	public void forward(double d){
		xPos += d*Math.cos(rotation);
		yPos += d*Math.sin(rotation);
		System.out.println(xPos + "/" + yPos);
	}
	
	public void rotateLeft(double d){
		rotation += d;
		System.out.println(rotation);
	}
	
	public void rotateRight(double d){
		rotation -= d;
		System.out.println(rotation);
	}
}
